package com.example.service;

import com.example.pojo.TbBook;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Author:20201002983_郑雨蓓
 * Date: 2022/12/15
 * Description:
 */
public interface TbBookService {
    List<TbBook> list();

    TbBook selectById(Long bookId);
    List<TbBook> selectByCategoryId(Long cid);
    List<TbBook> selectByName(String bookName);
    List<TbBook> selectByMulCon(TbBook tbBook);
    int add( TbBook tbBook);
    int update(TbBook tbBook);
    int delete(Long id);
}
